<template>
  <view>
    <web-view :src="url"></web-view>
  </view>
</template>

<script>

export default {
  data() {
    return {
      url: '',
    }
  },
  onLoad(options) {
    this.url = uni.getStorageSync('url') || options.url
    if(uni.getStorageSync('url')) {
      uni.removeStorageSync('url')
    }
  },
}
</script>

